package comp211.calendar.apptstorage;

import java.util.HashMap;

import comp211.calendar.unit.Appt;
import comp211.calendar.unit.TimeSpan;
import comp211.calendar.unit.User;

public abstract class ApptStorage {

	public HashMap mAppts;
	public User defaultUser;
	public int mAssignedApptID;

	public ApptStorage() {
	}

	public abstract void SaveAppt(Appt appt);

	public abstract Appt[] RetrieveAppts(TimeSpan d);

	public abstract Appt[] RetrieveAppts(User entity, TimeSpan time);

	public abstract void UpdateAppt(Appt appt);

	public abstract void RemoveAppt(Appt appt);

	public abstract User getDefaultUser();

}
